package com.konke.sdslibrary.event;

/**
 * Created by L on 2016/6/30.
 */
public class AlarmStatusEvent extends SmartHomeEvent {

    private String key;
    private String msg;
    private int device;

    public AlarmStatusEvent(String ccuId, String key,String msg) {
        super(ccuId);
        this.key = key;
        this.msg = msg;
    }

    public AlarmStatusEvent(String ccuId, String key, String msg, int device) {
        super(ccuId);
        this.key = key;
        this.msg = msg;
        this.device = device;
    }

    public int getDevice() {
        return device;
    }

    public void setDevice(int device) {
        this.device = device;
    }

    public String getKey() {
        return key;
    }

    public String getMsg() {
        return msg;
    }
}
